<template>
    <div class="free-root">
      <div class="free-content">
        <div class="title">
          <span>0元</span><span>・免费体验</span>
        </div>
        <div class="content">
          <el-tabs v-model="activeName"  @tab-click="handleClick" class="tabs">
            <el-tab-pane label="小程序" name="first" class="list-one">
              <ul>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free1.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DIf</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free1.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free1.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free1.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free1.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free2.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free2.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free2.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free2.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free2.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
              </ul>
            </el-tab-pane>
            <el-tab-pane label="网站建设" name="second"  class="list-one">
              <ul>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free3.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DIf</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free3.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free3.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free3.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free3.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free4.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free4.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free4.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free4.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
                <li>
                  <div class="list">
                    <img src="../../assets/img/free4.jpg" alt="">
                    <div>
                      <div class="small-box">
                        <p>航歌【线上商城小程序】全局DI</p>
                        <div>
                          <span>试用7天</span><span>67 人在用</span>
                        </div>
                      </div>
                      <div class="small-bottom">
                        <div>$0</div>
                        <div>立即抢</div>
                      </div>
                    </div>
                  </div>
                </li>
              </ul>
            </el-tab-pane>
            <el-tab-pane label="企业应用" name="third" class="list-one"><ul>
              <li>
                <div class="list">
                  <img src="../../assets/img/free5.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DIf</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free5.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free5.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free5.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free5.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free6.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free6.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free6.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free6.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
              <li>
                <div class="list">
                  <img src="../../assets/img/free6.jpg" alt="">
                  <div>
                    <div class="small-box">
                      <p>航歌【线上商城小程序】全局DI</p>
                      <div>
                        <span>试用7天</span><span>67 人在用</span>
                      </div>
                    </div>
                    <div class="small-bottom">
                      <div>$0</div>
                      <div>立即抢</div>
                    </div>
                  </div>
                </div>
              </li>
            </ul></el-tab-pane>

          </el-tabs>
          <div>
            <el-button icon="el-icon-refresh-left" round>换一换</el-button>
          </div>
        </div>
      </div>
    </div>
</template>

<script>
    export default {
        name: "Free",
      data(){
          return{
            //标签页双向绑定的数据
            activeName: 'second'
          }
      },
      methods:{
        handleClick(tab, event) {
          // console.log(tab, event);
        }
      },
    }
</script>

<style scoped>
  .free-root{
    width: 100%;
    /*height: 1000px;*/
  }
  .free-content{
    width: 1200px;
    margin: 0 auto;
    /*border: 1px solid red;*/
  }
  .free-content .title{
      width: 100%;
    height: 80px;

  }
  .free-content .title span{
    line-height: 80px;
  }
  .free-content .title span:nth-of-type(1){
    font-size: 25px;
    font-weight: bold;
    background: linear-gradient(to right, orange, orangered);
    -webkit-background-clip: text;
    color: transparent;
  }
  .free-content .title span:nth-of-type(2){
    font-size: 26px;
    font-family: 新宋体;
  }
  .tabs >>>.el-tabs__nav-scroll{
    float: right;
    position: relative;
    margin-right: 20px ;
  }
  .tabs >>> .el-tabs__nav-wrap::after{
    background-color: #eeeeee;
  }
  .content{
    background-color: white;
    padding-bottom: 15px;
    margin-bottom: 40px;
  }
  .content>div{
    text-align: center;
  }
  .content >>>.el-button{
    border: 1px solid oldlace;
    border-radius: 0;
  }
  /*.tabs .el-tab-pane:first-of-type{*/
  /*  font-size: 20px;*/
  /*}*/
  .tabs >>> #tab-first:after{
    content: 'HOT';
    display: block;
    height: 26px;
    position: absolute;
    top: -18px;
    left: 30px;
    color: white;
    background-color: red;
    font-size: 10px;
    padding: 3px;
  }
  .list-one{
    display: flex;
    justify-content: center;
  }
  .list-one .list{
    width: 216px;
    height: 250px;
    /*border: 1px solid blue;*/
  }
  .list-one .list img{
    width: 100%;
    cursor: pointer;
    transition: all 0.6s;
  }
  .list-one .list .small-box{
    /*width: 216px;*/

    padding: 8px;
  }

  .list-one .list .small-bottom{
    display: flex;

  }
  .list-one .list .small-bottom>div{
    flex-basis: 50%;
    text-align: center;
    position: relative;
    top: 2px;
  }
  .list-one .list .small-bottom>div:nth-of-type(1){
    border: 1px solid orangered;
    color: orangered;
  }
  .list-one .list .small-bottom>div:nth-of-type(2){
    background-color: orangered;
    color: white;
    font-size: 15px;
  }
  .list-one .list .small-box p{
    font-size: 15px;
    color: black;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
  }
  .list-one .list .small-box span:nth-of-type(1){
    color: #f09816;
    line-height: 16px;
    font-size: 12px;
    border: 1px solid #f09816;
    padding: 0 3px;

  }
  .list-one .list .small-box span:nth-of-type(2){
    float: right;
    color: #7f7f7f;
    font-size: 12px;
  }
  .list-one .list .small-box>div{
    margin: 10px 0;
  }
  .list-one li{
    float: left;
    margin: 0 13px 20px 9px;
    list-style: none;
    position: relative;
    overflow: hidden;

  }
  .list-one li:hover{
    box-shadow: 1px 1px 5px #888888;
  }
  .list-one li>div{


  }
  .list-one li:hover img{
    transform: scale(1.1);
  }

</style>
